package com.lineage.server.templates;

import com.lineage.server.model.Instance.L1ItemInstance;
import java.util.HashMap;
import java.util.Map;

public class L1PcOther3 {
  private static final Map<Integer, StringBuilder> _titleList = new HashMap<>();
  
  private static boolean _isStart = false;
  
  public static final int CLEVLE0 = 1;
  
  public static final int CLEVLE1 = 2;
  
  public static final int CLEVLE2 = 4;
  
  public static final int CLEVLE3 = 8;
  
  public static final int CLEVLE4 = 16;
  
  public static final int CLEVLE5 = 32;
  
  public static final int CLEVLE6 = 64;
  
  public static final int CLEVLE7 = 128;
  
  public static final int CLEVLE8 = 256;
  
  public static final int CLEVLE9 = 512;
  
  public static final int CLEVLE10 = 1024;
  
  public static final String[] ADDNAME = new String[] { 
      "あ", "ア", "い", "イ", "う", "ウ", "え", "エ", "お", "オ", 
      "か", "カ", "き", "キ", "く", "ク", "け", 
      "ケ", "こ", "コ", 
      "さ", "サ", "し", "シ", "す", "ス", "せ", "セ", "そ", "ソ", 
      "た", "タ", "ち", "チ", "つ", "ツ", "て", "テ", 
      "と", "ト", 
      "な", "ナ", "に", "ニ", "ぬ", "ヌ", "ね", "ネ", "の", "ノ", 
      "は", "ハ", "ひ", "ヒ", "ふ", "フ", "へ", "ヘ", "ほ", 
      "ホ", 
      "ま", "マ", "み", "ミ", "む", "ム", "め", "メ", "も", "モ", 
      "や", "ヤ", "ゆ", "ユ", "よ", "ヨ", "ら", "ラ", "り", "リ", 
      "る", "ル", "れ", "レ", "ろ", "ロ", "わ", "ワ", "を", "ヲ", 
      "ん", "ン" };
  
  private L1ItemInstance _item = null;
  
  private boolean _shopSkill = false;
  
  private int _objid = 0;
  
  private int _page = 0;
  
  private int _type1 = 0;
  
  private int _type2 = 0;
  
  private int _type3 = 0;
  
  private int _type4 = 0;
  
  private int _type5 = 0;
  
  private int _type6 = 0;
  
  public static void load() {
    if (!_isStart) {
      _titleList.put(Integer.valueOf(1), new StringBuilder(""));
      _titleList.put(Integer.valueOf(2), new StringBuilder("\\fD"));
      _titleList.put(Integer.valueOf(4), new StringBuilder("\\f="));
      _titleList.put(Integer.valueOf(8), new StringBuilder("\\fH"));
      _titleList.put(Integer.valueOf(16), new StringBuilder("\\f_"));
      _titleList.put(Integer.valueOf(32), new StringBuilder("\\f2"));
      _titleList.put(Integer.valueOf(64), new StringBuilder("\\fF"));
      _titleList.put(Integer.valueOf(128), new StringBuilder("\\fT"));
      _titleList.put(Integer.valueOf(256), new StringBuilder("\\fE"));
      _titleList.put(Integer.valueOf(512), new StringBuilder("\\f0"));
      _titleList.put(Integer.valueOf(1024), new StringBuilder("\\f?"));
      _isStart = true;
    } 
  }
  
  public void set_item(L1ItemInstance item) {
    this._item = item;
  }
  
  public L1ItemInstance get_item() {
    return this._item;
  }
  
  public void set_shopSkill(boolean shopSkill) {
    this._shopSkill = shopSkill;
  }
  
  public boolean get_shopSkill() {
    return this._shopSkill;
  }
  
  public void set_objid(int objid) {
    this._objid = objid;
  }
  
  public int get_objid() {
    return this._objid;
  }
  
  public void set_page(int page) {
    this._page = page;
  }
  
  public int get_page() {
    return this._page;
  }
  
  public void set_type1(int i) {
    this._type1 = i;
  }
  
  public int get_type1() {
    return this._type1;
  }
  
  public void addtype1(int i) {
    this._type1 -= i;
  }
  
  public void set_type2(int i) {
    this._type2 = i;
  }
  
  public int get_type2() {
    return this._type2;
  }
  
  public void set_type3(int i) {
    this._type3 = i;
  }
  
  public int get_type3() {
    return this._type3;
  }
  
  public void set_type4(int i) {
    this._type4 = i;
  }
  
  public int get_type4() {
    return this._type4;
  }
  
  public void set_type5(int i) {
    this._type5 = i;
  }
  
  public int get_type5() {
    return this._type5;
  }
  
  public void set_type6(int i) {
    this._type6 = i;
  }
  
  public int get_type6() {
    return this._type6;
  }
}
